//借用构造函数(经典继承)
function Parent(){
    this.names=['zhangsan','lisi']
}
function Child(){
    Parent.call(this);
}
var child1=new Child();
child1.names.push('yayu');

console.log(child1.names); // ["kevin", "daisy", "yayu"]

var child2 = new Child();

console.log(child2.names); // ["kevin", "daisy"]